package com.qf.service.impl;

import com.qf.dao.UserDao;
import com.qf.dao.impl.UserDaoImpl;
import com.qf.pojo.User;
import com.qf.service.UserService;

/**
 * @date 2022/3/26
 * @desc
 */
public class UserServiceImpl implements UserService {

    @Override
    public User login(User user) {
        // service 调用dao 操作数据库
        UserDao userDao = new UserDaoImpl();

        return userDao.login(user);
    }
}
